package records

import (
	"github.com/golib/mysql"
)

const RecordNameOnlineStudentCourseStatis = "online_student_course_statis"

func init() {
	var r = &OnlineStudentCourseStatis{}
	mysql.RegisterRecord(r.Name(), r)
}

type OnlineStudentCourseStatis struct {
	CourseStatisId int    `json:"courseStatisId" form:"courseStatisId" column:"course_statis_id" primary:"true" modify:"false"`
	StudentId      int    `json:"studentId" form:"studentId" column:"student_id" modify:"true"`
	CourseId       int    `json:"courseId" form:"courseId" column:"course_id" modify:"true"`
	TermId         int    `json:"termId" form:"termId" column:"term_id" modify:"true"`
	ClassId        int    `json:"classId" form:"classId" column:"class_id" modify:"true"`
	Score          int    `json:"score" form:"score" column:"score" modify:"true"`
	BeyondPercent  int    `json:"beyondPercent" form:"beyondPercent" column:"beyond_percent" modify:"true"`
	LearnDepth     int    `form:"learnDepth" column:"learn_depth" modify:"true" json:"learnDepth"`
	ExpectScore    int    `form:"expectScore" column:"expect_score" modify:"true" json:"expectScore"`
	ControlScore   int    `json:"controlScore" form:"controlScore" column:"control_score" modify:"true"`
	AbilityLevel   int    `modify:"true" json:"abilityLevel" form:"abilityLevel" column:"ability_level"`
	AbilityBeyond  int    `json:"abilityBeyond" form:"abilityBeyond" column:"ability_beyond" modify:"true"`
	AnalysisBeyond int    `column:"analysis_beyond" modify:"true" json:"analysisBeyond" form:"analysisBeyond"`
	CreateTime     string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime     string `modify:"false" json:"updateTime" form:"updateTime" column:"update_time"`
}

func (r *OnlineStudentCourseStatis) Name() string {
	return RecordNameOnlineStudentCourseStatis
}
